JavaScript

{dialog.object}showContainerWindow Method

Syntax

{dialog.Object}.showContainerWindow(ele,UXContainerWindow)

Arguments

ele

pointer to the element so that the window can be opened relative to this element (used only if the window position was specified to be 'relative' to some object.)

UXContainerWindow

name of the container (with sub-type of 'window'.)

Description

Shows a window defined by a 'container' control whose sub-type is 'window'. The controls in the 'window' container are the contents of the window.

Discussion

Typically the window is opened by a button, in which case 'ele' can be set to 'this' - a pointer to the button that opens the window.

Example

//Code for a button that opens a container window
{dialog.Object}.showContainerWindow(this,'WINDOW1');

See Also